package com.nix.email;

import org.apache.commons.mail.EmailException;

/**
 * Create by zhangpe0312@qq.com on 2017/12/11.
 */
public interface EmailService {
    /**
     * 发送邮件
     */
    void sendEmail() throws EmailException;

    /**
     * 接收邮件
     */
    void accept();
}
